package com.feituan.core.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feituan.core.pojo.entity.EquipmentShop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EquipmentShopMapper extends BaseMapper<EquipmentShop> {
    /**
     * 根据type和shopId查询
     * @param type type
     * @param shopId shopId
     */
    List<EquipmentShop> selectByTypeAndShopId(@Param("type") String type, @Param("shopId") Long shopId);


    /**
     * 根据shopId查询
     * @param shopId shopId
     */
    List<EquipmentShop> selectByShopId(Long shopId);
}
